.class Lcom/example/m6wmr/SearchActivity$1;
.super Ljava/lang/Object;
.source "SearchActivity.java"

# interfaces
.implements Landroid/text/TextWatcher;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/example/m6wmr/SearchActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/SearchActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/SearchActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    .line 370
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 4
    .param p1, "s"    # Landroid/text/Editable;

    .prologue
    .line 395
    sget-object v1, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "-3-afterTextChanged-->"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 396
    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity;->access$0(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/EditText;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v3

    invoke-interface {v3}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "<--"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 395
    invoke-virtual {v1, v2}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 397
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$0(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 410
    :goto_0
    return-void

    .line 400
    :cond_0
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->mcontext:Landroid/content/Context;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$1(Lcom/example/m6wmr/SearchActivity;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "\u8bf7\u7a0d\u540e"

    const-string v3, "\u63d0\u4ea4\u6570\u636e\u4e2d.."

    invoke-static {v1, v2, v3}, Lmyapp/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 401
    new-instance v0, Lbean/NotesBean;

    invoke-direct {v0}, Lbean/NotesBean;-><init>()V

    .line 402
    .local v0, "user":Lbean/NotesBean;
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$0(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lbean/NotesBean;->setConcet(Ljava/lang/String;)V

    .line 403
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->service:Ldbclass/NotesService;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$2(Lcom/example/m6wmr/SearchActivity;)Ldbclass/NotesService;

    move-result-object v1

    invoke-virtual {v1, v0}, Ldbclass/NotesService;->addNote(Lbean/NotesBean;)V

    .line 404
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->ll:Landroid/widget/LinearLayout;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$3(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/LinearLayout;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 405
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->sc:Landroid/widget/ScrollView;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$4(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ScrollView;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/ScrollView;->setVisibility(I)V

    .line 406
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;
    invoke-static {v2}, Lcom/example/m6wmr/SearchActivity;->access$0(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/EditText;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/example/m6wmr/SearchActivity;->access$5(Lcom/example/m6wmr/SearchActivity;Ljava/lang/String;)V

    .line 407
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    invoke-virtual {v1}, Lcom/example/m6wmr/SearchActivity;->getShopSource()Z

    .line 408
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    invoke-virtual {v1}, Lcom/example/m6wmr/SearchActivity;->getgood()Z

    goto :goto_0
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .locals 3
    .param p1, "s"    # Ljava/lang/CharSequence;
    .param p2, "start"    # I
    .param p3, "count"    # I
    .param p4, "after"    # I

    .prologue
    .line 386
    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "-2-beforeTextChanged-->"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 387
    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;
    invoke-static {v2}, Lcom/example/m6wmr/SearchActivity;->access$0(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/EditText;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "<--"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 386
    invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 389
    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .locals 3
    .param p1, "s"    # Ljava/lang/CharSequence;
    .param p2, "start"    # I
    .param p3, "before"    # I
    .param p4, "count"    # I

    .prologue
    .line 377
    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "-1-onTextChanged-->"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity$1;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;
    invoke-static {v2}, Lcom/example/m6wmr/SearchActivity;->access$0(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/EditText;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    .line 378
    const-string v2, "<--"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 377
    invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 379
    return-void
.end method
